Applied upstream patch to lmx.c to make it compile
authorJohn Goerzen <jgoerzen@complete.org>
Thu, 17 Jul 2008 20:18:04 +0000 (15:18 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Thu, 17 Jul 2008 20:18:04 +0000 (15:18 -0500)
checked in lmx.c cvs version 1.4 at
http://gpsbabel.cvs.sourceforge.net/gpsbabel/gpsbabel/lmx.c?r1=1.3&r2=1.4&view=patch

lmx.c

diff --git a/lmx.c b/lmx.c
index 5082a0cc06ddcceffe2e864c8653b00fe9520471..06a8154e585074589d7630cb9950348b33b25692 100644 (file)
--- a/lmx.c
+++ b/lmx.c
@@ -31,7 +31,7 @@
 
 static gbfile *ofd;
 static waypoint *wpt_tmp;
-char *link, *linkt;
+char *urllink, *urllinkt;
 
 #define MYNAME "lmx"
 
@@ -205,25 +205,25 @@ lmx_lm_desc(const char *args, const char **unused)
 static void
 lmx_lm_mlink_s(const char *args, const char **unused)
 {
-       link = linkt = NULL;
+       urllink = urllinkt = NULL;
 }
 
 static void
 lmx_lm_link(const char *args, const char **unused)
 {
-       link = xstrdup(args);
+       urllink = xstrdup(args);
 }
 
 static void
 lmx_lm_linkt(const char *args, const char **unused)
 {
-       linkt = xstrdup(args);
+       urllinkt = xstrdup(args);
 }
 
 static void
 lmx_lm_mlink_e(const char *args, const char **unused)
 {
-       waypt_add_url(wpt_tmp, link, linkt);
+       waypt_add_url(wpt_tmp, urllink, urllinkt);
 }